package cn.com.gainfo.bktas.business;

import java.util.List;

import javax.sql.DataSource;

import cn.com.gainfo.bktas.dao.FeetypeDAO;
import cn.yzyue.base.business.AbstractBusiness;
import cn.yzyue.base.tools.db.SQL;
import cn.yzyue.base.vo.VO;

public class FeetypeBusiness extends AbstractBusiness {
	private FeetypeDAO dao = null;

	public FeetypeBusiness() {
		dao = new FeetypeDAO();
	}

	@Override
	public boolean add(DataSource dataSource, VO vo) {
		// TODO Auto-generated method stub
		return dao.add(dataSource, vo);
	}

	@Override
	public boolean batchDel(DataSource dataSource, VO vo, List data) {
		// TODO Auto-generated method stub
		return dao.batchDel(dataSource, vo, data);
	}

	@Override
	public boolean del(DataSource dataSource, VO vo, String[] ids) {
		// TODO Auto-generated method stub
		return dao.del(dataSource, vo, ids);
	}

	@Override
	public List find(DataSource dataSource, SQL sql, int page) {
		// TODO Auto-generated method stub
		return dao.find(dataSource, sql, page);
	}

	@Override
	public List find(DataSource dataSource, String sql) {
		// TODO Auto-generated method stub
		return dao.find(dataSource, sql);
	}

	@Override
	public VO findByIds(DataSource dataSource, VO vo, String[] ids) {
		// TODO Auto-generated method stub
		return dao.findByIds(dataSource, vo, ids);
	}

	@Override
	public boolean mod(DataSource dataSource, VO vo) {
		// TODO Auto-generated method stub
		return dao.mod(dataSource, vo);
	}
	
}
